package com.share.example.stock.model.db;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import com.baomidou.mybatisplus.annotation.TableName;
import lombok.Data;
import lombok.experimental.Accessors;

import java.io.Serializable;
import java.util.Date;

@Data
@Accessors(chain = true)
@TableName("ts_strategy_result")
public class StrategyResult implements Serializable {
    private static final long serialVersionUID = 1L;
    @TableId(type = IdType.AUTO)
    private Long id;
    /**
     * 股市编码
     */
    private String code;
    private String name;
    /**
     * 日期
     */
    private String date;
    private String time;

    private Double price;

    private String strategy;

    private String status;

    private String descript;

    @TableField(value = "industry_name")
    private String industryName;

    @TableField(value = "d3_rate")
    private Double d3Rate;

    @TableField(value = "d5_rate")
    private Double d5Rate;

    @TableField(value = "d10_rate")
    private Double d10Rate;

    @TableField(value = "d20_rate")
    private Double d20Rate;

    @TableField(value = "d40_rate")
    private Double d40Rate;

    @TableField(value = "last_rate")
    private Double lastRate;

    @TableField(value = "last_price")
    private Double lastPrice;

    @TableField(value = "dn_update_time")
    private Date dnUpdateTime;
}
